-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entry resource #95
Entry resource #95
Conversation
|
Codecov Report
@@ Coverage Diff @@
## master #95 +/- ##
==========================================
- Coverage 73.40% 73.30% -0.11%
==========================================
Files 69 70 +1
Lines 4211 4254 +43
==========================================
+ Hits 3091 3118 +27
- Misses 855 864 +9
- Partials 265 272 +7
Continue to review full report at Codecov.
|
} | ||
|
||
entry.Timestamp = typedEvent.LastTimestamp.Time | ||
entry.AddLabel("event_type", string(event.Type)) | ||
k.Write(ctx, entry) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing any change that would affect write_to
. Could you explain what changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you use NewEntry
, it uses the write_to
field when constructing the entry.
Description of Changes
Added
Resource
field was added to EntryIdentifier
helper was created to assist with writing toResource
Removed
Tags
field was removed from EntryChanged
host_metadata
operator now writes to an entry'sResource
field, instead of Labelshost_labeler
helper has been renamedhost_identifier
metadata
operator embeds theIdentifier
helper and supports writing toResource
Identifier
helper and support writing toResource
k8s_event
operator now supports thewrite_to
,labels
, andresource
configuration optionsPlease check that the PR fulfills these requirements